package com.example.mapstuct.pojo.dto;

import lombok.Data;

@Data
public class UserDTO {

    private Long id;

    private String time;

    public Long getId() {
        return id;
    }

    public UserDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getTime() {
        return time;
    }

    public UserDTO setTime(String time) {
        this.time = time;
        return this;
    }

    public UserDTO(Long id, String time) {
        this.id = id;
        this.time = time;
    }

    public UserDTO() {
    }
}
